package com.taotao.sso.controller;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping("/page")
@Controller
public class PageController {
	@RequestMapping("/register")
	public String register(){
		return "register";
	}
	
	@RequestMapping("/login")
	public String login(String redirect,Map<String,Object> map){
		map.put("redirect", redirect);
		return "login";
	}
}
